package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sys_market_file
 * 
 * @author ruoyi
 * @date 2021-12-21
 */
public class SysMarketFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long fileId;

    /** 文件名字 */
    @Excel(name = "文件名字")
    private String fileName;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String filePath;

    /** 文件唯一标识 */
    @Excel(name = "文件唯一标识")
    private String fileUnique;

    /** 文件url路径 */
    @Excel(name = "文件url路径")
    private String url;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date upTime;

    /** 调研文档id */
    @Excel(name = "调研文档id")
    private Long sysDeviceId;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private String isdelFlag;

    public String getIsdelFlag() {
        return isdelFlag;
    }

    public void setIsdelFlag(String isdelFlag) {
        this.isdelFlag = isdelFlag;
    }

    public void setFileId(Long fileId)
    {
        this.fileId = fileId;
    }

    public Long getFileId() 
    {
        return fileId;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setFileUnique(String fileUnique) 
    {
        this.fileUnique = fileUnique;
    }

    public String getFileUnique() 
    {
        return fileUnique;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setUpTime(Date upTime) 
    {
        this.upTime = upTime;
    }

    public Date getUpTime() 
    {
        return upTime;
    }
    public void setSysDeviceId(Long sysDeviceId)
    {
        this.sysDeviceId = sysDeviceId;
    }

    public Long getSysDeviceId()
    {
        return sysDeviceId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("fileName", getFileName())
            .append("filePath", getFilePath())
            .append("fileUnique", getFileUnique())
            .append("url", getUrl())
            .append("createBy", getCreateBy())
            .append("upTime", getUpTime())
            .append("sysDeviceId", getSysDeviceId())
            .append("isdelFlag", getIsdelFlag())
            .toString();
    }
}
